package com.carcenter.personnel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.carcenter.common.pojo.store.StoreDto;
import io.swagger.annotations.ApiModel;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author car
 * @since 2025-07-16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
  @ApiModel(value = "Staff对象", description = "")
public class Staff implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;
    // 员工账号
    private String staffAccount;

    // 员工姓名
    private String staffName;

    // 手机号
    private String phone;

    private String avatar;

    private Integer roleId;

    @TableField(exist = false,update="false")
    private Roles role;

    private String accountType;

    private String loginPassword;

    private String accountStatus;

    private Integer storeId;

    @TableField(exist = false,update="false")
    private StoreDto storeDto;


}
